package com.mysoft.gfyx.workbench.remoteservice;

import com.mysoft.framework.rpc.annotation.RemoteAction;
import com.mysoft.framework.rpc.annotation.RemoteService;
import com.mysoft.gfyx.workbench.controller.dto.MySubscriptionPageResponseDto;
import com.mysoft.gfyx.workbench.controller.dto.MySubscriptionResponseDto;
import com.mysoft.gfyx.workbench.controller.dto.PageDto;

import java.util.List;

@RemoteService(appCode = "4022", businessCode = "40220902", path = "/subscriptionPub")
public interface RemoteMySubscriptionService {

    @RemoteAction("/isSetSubscriptionConfig")
    boolean isSetSubscriptionConfig();

    @RemoteAction("/getLatestOpportunities")
    MySubscriptionPageResponseDto getLatestOpportunities(PageDto pageDto);

    @RemoteAction("/applyCron")
    boolean applyCron();

}
